package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Food;
import com.itheima.pojo.Sports;

/**
 * @author HLJ
 */
public interface SportsDao {
    /***
      * @Author: HLJ
      * @Description: 通过上传的excel文件，遍历后添加运动
      * @Date: 2020/11/25
      * @Param sports: 运动
      * @return: void
      **/
    
    public void add(Sports sports);

    public int findCountById(Integer id);

    public Sports findById(Integer id);

    public Page<Sports> findByCondition(String queryString);

    public void edit(Sports sports);

    public void delete(Integer id);
}
